package com.wang.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wang.entity.model.SysTenantModel;
import com.wang.entity.system.SysTenant;
import com.wang.entity.vo.SysTenantVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author wang
 * @Date 2024/9/22 22:00
 * @PackageName:com.wang.system.mapper
 * @ClassName: SysTenantMapper
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
public interface SysTenantMapper extends BaseMapper<SysTenant> {
    IPage<SysTenantVo> queryPageList(@Param("param") SysTenantModel sysTenantModel, Page<SysTenantVo> page);

    SysTenant getRecycleById(Long tenantId);

    void updateRecycleById(SysTenant tenant);

    IPage<SysTenantVo> queryRecycleList(@Param("param") SysTenantModel sysTenantModel, Page<SysTenantVo> page);
}
